package com.lsk.netdisk.file.authz;

public enum Permission {
	Admin(2),Owner(1),All(0);

	private int val;

	Permission(int val) {
		this.val = val;
	}

	public boolean hasPermission(Permission p){
		return this.val > p.val;
	}
}
